import allure
from pages.page import LoginPage


@allure.feature("票账税6.0")
class TestLogin:
    @allure.story("登录账无忧")
    def test_login_user(self, driver):
        with allure.step("打开浏览器跳转登录页面"):
            LoginPage(driver).go_to_url("https://gj.kdzwy.com/index_new.html")
        with allure.step("输入手机号+密码点击登录"):
            LoginPage(driver).login_zhangwuyou()
